<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>平面转换-倾斜</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    div {
      margin: 100px auto;
      width: 200px;
      height: 320px;
      background-color: #f0f;
      transition: all .5s;
    }

    div:hover {
      transform: skew(20deg);
    }
  </style>
</head>

<body>
  <div></div>
</body>

</html>